package com.wtf.service;

import javax.servlet.http.HttpServletResponse;

/**
 * @author tengfei wang
 * @version 1.0
 * @date Created in 2020/11/2
 */
public interface UserService {
    boolean register(String email, String password, Integer code, HttpServletResponse response);

    boolean isRegister(String email);

    String login(String email, String password, HttpServletResponse response);

    String getEmailByToken(String token);
}
